CC = iccavr
LIB = ilibw
CFLAGS =  -e -D__ICC_VERSION=722 -D_EE_EXTIO -DATMega2560  -l -g -MExtended -MLongJump -MHasMul -MEnhanced -Wf-use_elpm -Wf-const_is_flash -DCONST="" 
ASFLAGS = $(CFLAGS) 
LFLAGS =  -g -e:0x40000 -xcall -ucrtatmega.o -bfunc_lit:0xe4.0x40000 -dram_end:0x21ff -bdata:0x200.0x21ff -dhwstk_size:30 -beeprom:0.4096 -fihx_coff -S2
FILES = main.o i2c.o timer.o board.o key.o queue.o Delay.o OLEDWork.o GUI.o lcd.o lcdtest.o 

GPIO:	$(FILES)
	$(CC) -o GPIO $(LFLAGS) @GPIO.lk   -lcatm256
main.o: C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h C:\iccv7avr\include\stdio.h C:\iccv7avr\include\stdarg.h C:\iccv7avr\include\_const.h C:\iccv7avr\include\string.h .\..\source\timer.h .\..\source\board.h .\..\source\i2c.h .\..\source\key.h .\..\source\OLEDWork.h
main.o:	..\source\main.c
	$(CC) -c $(CFLAGS) ..\source\main.c
i2c.o: .\..\source\board.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\I2C.h .\..\source\timer.h
i2c.o:	..\source\i2c.c
	$(CC) -c $(CFLAGS) ..\source\i2c.c
timer.o: C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h
timer.o:	..\source\timer.c
	$(CC) -c $(CFLAGS) ..\source\timer.c
board.o: C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\stdio.h C:\iccv7avr\include\stdarg.h C:\iccv7avr\include\_const.h .\..\source\board.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\timer.h .\..\source\i2c.h C:\iccv7avr\include\ASSERT.H .\..\source\key.h .\..\source\queue.h
board.o:	..\source\board.c
	$(CC) -c $(CFLAGS) ..\source\board.c
key.o: .\..\source\board.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\key.h .\..\source\timer.h
key.o:	..\source\key.c
	$(CC) -c $(CFLAGS) ..\source\key.c
queue.o: .\..\source\board.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\queue.h
queue.o:	..\source\queue.c
	$(CC) -c $(CFLAGS) ..\source\queue.c
Delay.o: .\..\source\Delay.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h
Delay.o:	..\source\Delay.c
	$(CC) -c $(CFLAGS) ..\source\Delay.c
OLEDWork.o: .\..\source\OLEDWork.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\board.h .\..\source\oldfont.h .\..\source\Delay.h
OLEDWork.o:	..\source\OLEDWork.c
	$(CC) -c $(CFLAGS) ..\source\OLEDWork.c
GUI.o: .\..\source\lcd.h .\..\source\board.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\lcdFont.h .\..\source\gui.h
GUI.o:	..\source\GUI.c
	$(CC) -c $(CFLAGS) ..\source\GUI.c
lcd.o: .\..\source\board.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\lcd.h .\..\source\delay.h
lcd.o:	..\source\lcd.c
	$(CC) -c $(CFLAGS) ..\source\lcd.c
lcdtest.o: .\..\source\lcd.h .\..\source\board.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\_iom640to2561v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\AVRdef.h .\..\source\gui.h .\..\source\lcdtest.h
lcdtest.o:	..\source\lcdtest.c
	$(CC) -c $(CFLAGS) ..\source\lcdtest.c
